<?php
	include 'ua.php';
	$currentPage = basename($_SERVER['REQUEST_URI']);
	$fileName = '';
	if(strrpos($currentPage,'?')) list($fileName) = explode('?',$currentPage);
	else $fileName = $currentPage;
?>
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="<?php echo $uametaValue; ?>">
<title>길거리스타</title> 
<link rel="stylesheet" type="text/css" href="css/<?php echo $ualinkValue; ?>">
<!--[if lt IE 9]>
<script>
document.createElement("section");
document.createElement("nav");
document.createElement("article");
document.createElement("aside");
document.createElement("hgroup");
document.createElement("header");
document.createElement("footer");
</script>
<![endif]-->
<script src="js/jquery-1.5.2.min.js"></script>
<script src="http://maps.google.com/maps/api/js?v=3.3&sensor=true"></script>
<script src="js/json2.js"></script>
<script src="js/modernizr-1.7.min.js"></script>

<link rel="apple-touch-icon-precomposed" href="파일경로/파일명.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="파일경로/파일명.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="파일경로/파일명.png">
<link rel="apple-touch-startup-image" href="img/startup.png">

<script type="text/javascript">
var categories = {};
categories['music'] = '음악';
categories['performance'] = '퍼포먼스';
categories['exhibition'] = '전시';
categories['others'] = '그 외';

function moveTab(moveUrl) {
	if (moveUrl != location.pathname.substr(-(moveUrl.length)) && latitude != null && longitude != null)
		moveUrl += '?latitude=' + latitude + '&longitude=' + longitude;

	location.href = moveUrl;
}

function slideUp()
{
	if(window.pageXOffset == 0)
	{
		window.scrollTo(0, 1);
	}
}
</script>

<meta name="apple-mobile-web-app-capable" content="yes">
</head> 
<body class="<?php echo $uacssValue; ?>" onload="slideUp();">

<header id="header" class="header"> 
	<div class="logo"><a href="map.php"><img src="img/logoGilStar.png" width="105" height="29" alt="GilStar"></a></div> 
	<nav class="nav"> 
		<ul class="navUl"> 
		<li class="navLi<?php if($fileName == 'map.php') echo ' navLiSel';?> navLiMap"><a href="#" onclick="moveTab('map.php');" class="navA">지도 보기</a></li> 
		<li class="navLi<?php if($fileName == 'list.php') echo ' navLiSel';?> navLiList"><a href="#" onclick="moveTab('list.php');" class="navA">목록 보기</a></li> 
		<li class="navLi<?php if($fileName == 'signup.php') echo ' navLiSel';?> navLiSignup"><a href="signup.php" class="navA">공연 등록</a></li> 
		</ul> 
	</nav> 
</header>

<!-- content -->
<div class="content">